The int() function returns the integer part of its argument, truncated toward zero. The returned value is still a double. This function is equivalent to trunc() is is kept for compatibility.